#!/bin/bash

for ITER in '8' '9'; do
	#for NAME in `cat focusedClasses.txt`; do
	echo "****** ${ITER} *****"
	for NAME in M09400 T84000 M00100 T63000 M43000 T01000 T67000 M41000 T8X310 others; do
		echo "--------${NAME}--------";
		svm_learn $1/${ITER}/train_${NAME}.dat $1/${ITER}/${NAME}.SvmModel
		echo "........................"
		svm_classify $1/${ITER}/test_${NAME}.dat $1/${ITER}/${NAME}.SvmModel $1/${ITER}/${NAME}.SvmPrediction &
		echo "-----------------------";
	done; 
	echo 
	echo
done; 
